package com.caseProcess.service;

import com.caseProcess.entity.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserService {

    //根据roleId获取用户
    List<User> getUser(String roleId);

    //用户导入
    int batchInsert(List<User> list);

    User getUserpwd(@Param("policeId") String policeId);
    User getUserandPwd(@Param("policeId")String policeId,@Param("pwd")String pwd);
    int updatePwd(User user);
    int upLocking(int lookCount,String policeId);
    int insert(User user);
    int delete(@Param("policeId") String policeId);
    int update(User user);
    List<User> select();
    List<User> selectAllBy(User user);

    User isExist(@Param("policeId") String policeId);

}
